function selectCountryCode(val){
	
	 $.ajaxSetup ({  
        cache: false  
    });  
    var ajax_load =  url_var+"/public/images/ajax-loader.gif' alt='loading...' />";  
    var loadUrl = url_var+"/index.php/ajax/state/"+val;  
    $("#residingState").html(ajax_load).load(loadUrl);  
	}
	
function selectSateCode(val){
	
	 $.ajaxSetup ({  
        cache: false  
    });  
    var ajax_load = "<img src='/public/images/ajax-loader.gif' alt='loading...' />";  
    var loadUrl =  url_var+"/index.php/ajax/city/"+val;  
    $("#residingCity").html(ajax_load).load(loadUrl);  
	}	
function check(val){
	
	$.ajaxSetup ({  
    cache: false  
    });  
    var ajax_load = "<img src='/public/images/ajax-loader.gif' alt='loading...' />";  
	 var loadUrl =  url_var+"/index.php/ajax/update_profile_picture/"+val;  
	 
    $("#photo_update").html(ajax_load).load(loadUrl);  
	
	}	
function move_list_items(sourceid, destinationid)
	{
		alert(sourceid);
		$("#"+sourceid+"  option:selected").appendTo("#"+destinationid);
	}
	
	